import {
  Entity,
  Column,
  PrimaryGeneratedColumn,
  BaseEntity,
  PrimaryColumn,
} from 'typeorm';
// import { ApiProperty } from '@nestjs/swagger';
@Entity('weapon')
export default class WeaponEntity extends BaseEntity {
  // @ApiProperty({description: '武器ID'})
  @PrimaryGeneratedColumn('increment', { type: 'bigint' })
  id: number;

  // @ApiProperty({type: 'double', description: '武器ID'})
  @Column({ comment: '武器伤害' })
  damageScore: number;
}
